/*
 * configure_device.h
 *
 *  Created on: 2021��5��27��
 *      Author: Administrator
 */

#ifndef SRC_SPI_CONFIGURE_DEVICE_H_
#define SRC_SPI_CONFIGURE_DEVICE_H_

/* FreeRTOS includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "timers.h"

int createSpiConfigureTask(QueueHandle_t xEnventQueue);

int spi_configure();

int cli_spi_read(u32 data, u32 slave_mask, u8 *rx_data);

int cli_spi_write(u32 data, u32 slave_mask);

int monitor_204b();

#endif /* SRC_SPI_CONFIGURE_DEVICE_H_ */
